package com.szrt.easyui.buybuyup.user.dao;

import java.util.List;
import java.util.Map;

import com.szrt.easyui.buybuyup.company.dto.CompanyDTO;
import com.szrt.easyui.buybuyup.user.entity.UserEntity;


public interface UserDao {
	


	
	List<UserEntity> findAllPage(Map<String, Object> fenye);
	List<UserEntity> findAllPageV2(Map<String, Object> fenye);
	
	int counterEntity(Map<String, Object> conditionMap);

	int add(UserEntity entity);

	int update(UserEntity entity);

	UserEntity findById(Integer id);

	int deleteByIds(List<Integer> ids);
	
	List<CompanyDTO> findAllKeyAndValue();

}
